<template>
    <div class="center">
     <table width="1179" border="0" cellpadding="0" cellspacing="0" style="width:884.25pt;border-collapse:collapse;table-layout:fixed;">
   <colgroup><col width="100" style="mso-width-source:userset;mso-width-alt:3200;">
   <col width="103" style="mso-width-source:userset;mso-width-alt:3296;">
   <col width="140" style="mso-width-source:userset;mso-width-alt:4480;">
   <col width="113" style="mso-width-source:userset;mso-width-alt:3616;">
   <col width="86" style="mso-width-source:userset;mso-width-alt:2752;">
   <col width="124" style="mso-width-source:userset;mso-width-alt:3968;">
   <col width="72" style="width:54.00pt;">
   <col width="120" style="mso-width-source:userset;mso-width-alt:3840;">
   <col width="105" style="mso-width-source:userset;mso-width-alt:3360;">
   <col width="80" style="mso-width-source:userset;mso-width-alt:2560;">
   <col width="136" style="mso-width-source:userset;mso-width-alt:4352;">
   <col width="72" span="2" style="width:54.00pt;">
   <col width="82" style="mso-width-source:userset;mso-width-alt:2624;">
   <col width="89" span="2" style="mso-width-source:userset;mso-width-alt:2848;">
   <col width="101" style="mso-width-source:userset;mso-width-alt:3232;">
   <col width="72" span="2" style="width:54.00pt;">
   <col width="90" style="mso-width-source:userset;mso-width-alt:2880;">
   <col width="99" style="mso-width-source:userset;mso-width-alt:3168;">
   <col width="127" style="mso-width-source:userset;mso-width-alt:4064;">
   </colgroup><tbody><tr height="19" style="height:14.25pt;">
    <td height="19" width="100" style="height:14.25pt;width:75.00pt;"></td>
    <td class="xl65" width="863" colspan="8" rowspan="1" style="width:647.25pt;border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;text-align:center" x:str="">风机工作票</td>
    <td class="xl73" width="216" colspan="1" rowspan="2" style="width:162.00pt;border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;"></td>
   </tr>
   
   <tr height="19" style="height:14.25pt;">
    <td class="xl69" x:str="">No：</td>
    <td class="xl70" colspan="8" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;">{{this.bb.rwdId}}</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl72" colspan="5" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">风电场：{{this.bb.orgName_dictText}}</td>
    <td class="xl72" colspan="5" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">编号：{{this.bb.num}}</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl69" colspan="5" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="" v-if="!draft">作业队伍类别：{{this.bb.teamType}}</td>
     <td class="xl69" colspan="5" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="" v-if="draft">
         作业队伍类别：<j-dict-select-tag v-model="teamType" dictCode="team_type" placeholder="请选择作业队伍类别" style="width:410px;"/>
    </td>
    <td class="xl69" x:str="">工作协调人：</td>
    <td class="xl73" v-if="!draft">{{this.bb.workConcertPerson}}</td>
    <td class="xl73" v-if="draft">
        <a-input v-model="workConcertPerson"></a-input>
    </td>
    <td class="xl74" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="" v-if="!draft">班组（部门）：{{this.bb.concertClass1}}</td>
    <td class="xl74" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="" v-if="draft">
        班组（部门）：<a-input v-model="concertClass1" style="width:190px;"></a-input>
        </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl74" colspan="5" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="" v-if="!draft">有限空间类别：{{this.bb.limitSpaceType}}</td>
    <td class="xl74" colspan="5" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="" v-if="draft">
        有限空间类别： <j-dict-select-tag v-model="limitSpaceType" dictCode="limit_space_type" placeholder="请选择有限空间类别" style="width:410px;"/>
    </td>
    <td class="xl69" x:str="">第二监护人：</td>
    <td class="xl69" v-if="!draft">{{this.bb.secondConcertPerson}}</td>
     <td class="xl69" v-if="draft">
        <a-input v-model="secondConcertPerson"></a-input>
    </td>
     <td class="xl74" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="" v-if="!draft">班组（部门）：{{this.bb.concertClass2}}</td>
    <td class="xl74" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="" v-if="draft">
        班组（部门）：<a-input v-model="concertClass2" style="width:190px;"></a-input>
        </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl69" x:str="">工作负责人：</td>
    <td class="xl69" v-if="!draft">{{this.bb.workOndutyPerson0}}</td>
     <td class="xl69" v-if="draft">
         <a-input v-model="workOndutyPerson0"></a-input>
     </td>
    <td class="xl69" x:str="">班组（部门）：</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.ondutyClass}}</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-input v-model="ondutyClass"></a-input>
    </td>
    <td class="xl69" x:str="">附页：</td>
    <td class="xl72" v-if="!draft">{{this.bb.opageNum}}</td>
     <td class="xl72" v-if="draft">
         <a-input v-model="opageNum"></a-input>
     </td>
    <td class="xl72" x:str="">张</td>
    <td class="xl72"></td>
    <td class="xl69"></td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl69" x:str="">工作班成员：</td>
    <td class="xl74" colspan="8" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.classMember}}</td>
     <td class="xl74" colspan="8" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
         <a-textarea
      v-model="classMember"
      placeholder="请输入"
      :auto-size="{ minRows: 3, maxRows: 5 }"
    />
     </td>
    <td class="xl69" x:str="">（共 人）</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl73" rowspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">工作任务</td>
    <td class="xl73" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str=""  v-if="!draft">线路名称：{{this.bb.lineName}}</td>
    <td class="xl73" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str=""  v-if="draft">
        线路名称：<a-input v-model="lineName " style="width:290px;"></a-input>
    </td>
    <td class="xl73" colspan="5" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="" v-if="!draft">风机编号：{{this.bb.fanName}}</td>
    <td class="xl73" colspan="5" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="" v-if="draft">
        风机编号：<a-input v-model="fanName" style="width:290px;"></a-input>
    </td>
   </tr>
   
   <tr height="19" style="height:14.25pt;">
     
   <td class="xl73" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">工作地点：</td>
   <td class="xl73" colspan="5" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">工作内容：</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
      <td class="xl73" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.workPlace}}</td>
    <td class="xl73" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <j-multi-select-tag v-model="workPlace" dictCode="work_place" placeholder="请选择工作地点" style="width:410px;"/>
    </td>
    <td class="xl73" colspan="5" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" >{{this.bb.workDetail}}</td>
   
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">计划工作时间：自</td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.planStartDate}}</td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
         <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="planStartDate"></j-date>
    </td>
    <td class="xl69" x:str="">至</td>
    <td class="xl73" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.planEndDate}}</td>
    <td class="xl73" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="planEndDate"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl75" rowspan="19" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">开工前应完<br>成的安全措施</td>
    <td class="xl73" colspan="9" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">需运行人员执行的安全措施</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl74" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">线路及风机变安全措施（由工作负责人填写没有时填无）</td>
    <td class="xl73" colspan="5" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">执行情况（由运行工作许可人填写，没有可不填）</td>
   </tr>
   <tr height="24" style="height:18.00pt;mso-height-source:userset;mso-height-alt:360;">
    <!-- <td height="24" style="height:18.00pt;"></td> -->
    <td class="xl76" colspan="4" rowspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">应断开断路器、隔离开关、跌落开关（注明编号），<br>应挂标识牌</td>
    <td class="xl76" colspan="5" rowspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">已断开断路器、隔离开关、跌落开关（注明编号），<br>已挂标示牌</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl73" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.safeAction1}}</td>
    <td class="xl73" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
         <a-textarea
      v-model="safeAction1"
      placeholder="请输入"
      :auto-size="{ minRows: 3, maxRows: 5 }"
    />
    </td>
    <td class="xl73" colspan="5" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.actionDetail}}</td>
    <td class="xl73" colspan="5" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea
      v-model="actionDetail"
      placeholder="请输入"
      :auto-size="{ minRows: 3, maxRows: 5 }"
    />
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl76" colspan="4" rowspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">应装设接地线（注明确实地点），应和尚接地刀闸（注<br>明双重名称）</td>
    <td class="xl76" colspan="4" rowspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">已装设备接地线（注明确实地点、名称及接地线编号），<br>已合上接地刀闸（注明双重名称）</td>
    <td class="xl75" rowspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">编号{{this.bb.wireCode}}</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl73" colspan="4" rowspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.shouldGroundWire}}</td>
    <td class="xl73" colspan="4" rowspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
         <a-textarea
      v-model="shouldGroundWire"
      placeholder="请输入"
      :auto-size="{ minRows: 3, maxRows: 5 }"
    />
    </td>
    <td class="xl74" colspan="4" rowspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.alreadyGroundWire}}</td>
    <td class="xl74" colspan="4" rowspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
         <a-textarea
      v-model="alreadyGroundWire"
      placeholder="请输入"
      :auto-size="{ minRows: 3, maxRows: 5 }"
    />
    </td>
    <td class="xl74" colspan="1" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.allWire}}</td>
     <td class="xl74" colspan="1" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
         <a-textarea
      v-model="allWire"
      placeholder="请输入"
      :auto-size="{ minRows: 1, maxRows: 1 }"
    />
     </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    
    <td class="xl74" colspan="1" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">共{{this.bb.allGroupNum}} 组</td>
    <td class="xl74" colspan="1" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">共 <a-input v-model="allGroupNum"></a-input> 组</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl73" colspan="9" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">需检修自理的安全措施</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl74" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">塔基安全措施（由工作负责人填写）</td>
    <td class="xl74" colspan="5" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">执行情况（由检修自理工作许可人填写）：</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl74" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">进行的“停机、转维护”操作：</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">执行时间</td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">恢复时间</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl73" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.safeAction2}}</td>
    <td class="xl73" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
         <a-textarea
      v-model="safeAction2"
      placeholder="请输入"
      :auto-size="{ minRows: 1, maxRows: 1 }"
    />
    </td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.actionDate2}}</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
          <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="actionDate2"></j-date>
    </td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.reworkDate2}}</td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
       <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="reworkDate2"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl74" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">应按下“急停按钮”、切换“远程/就地开关”：</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">执行时间</td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">恢复时间</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl73" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.safeAction4}}</td>
    <td class="xl73" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea
      v-model="safeAction4"
      placeholder="请输入"
      :auto-size="{ minRows: 1, maxRows: 1 }"
    />
    </td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.actionDate4}}</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="actionDate4"></j-date>
    </td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.reworkDate4}}</td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="reworkDate4"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl76" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">应断开断路器、隔离开关，应挂标识牌：</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">执行时间</td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">恢复时间</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl77" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.safeAction6}}</td>
    <td class="xl77" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <a-textarea
      v-model="safeAction6"
      placeholder="请输入"
      :auto-size="{ minRows: 1, maxRows: 1 }"
    />
    </td>
    <td class="xl77" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.actionDate6}}</td>
    <td class="xl77" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
         <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="actionDate6"></j-date>
    </td>
    <td class="xl77" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.reworkDate6}}</td>
     <td class="xl77" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="reworkDate6"></j-date>
     </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl74" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">应装设接地线（注明确实地点）：</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">执行时间</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">恢复时间</td>
    <td class="xl69" x:str="">地线编号</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl73" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.safeAction7}}</td>
    <td class="xl73" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
         <a-textarea
      v-model="safeAction7"
      placeholder="请输入"
      :auto-size="{ minRows: 1, maxRows: 1 }"
    />
    </td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.actionDate7}}</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="actionDate7"></j-date>
    </td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.reworkDate7}}</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="reworkDate7"></j-date>
    </td>
    <td class="xl69" x:str=""></td>
   </tr>
   <!-- <tr height="19" style="height:14.25pt;">
    <td class="xl73" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;"></td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;"></td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;"></td>
   </tr> -->
   <tr height="19" style="height:14.25pt;">
    <td class="xl75" rowspan="8" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">开工后检修自理<br>安全措施</td>
    <td class="xl73" colspan="9" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">预先确定的安全措施</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl76" colspan="4" rowspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">应断开断路器、隔离开关，应按下“急停按钮”，应挂标示牌<br>应锁上“转子锁”、“叶片锁”：</td>
    <td class="xl73" colspan="2" rowspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">执行时间</td>
    <td class="xl73" colspan="3" rowspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">恢复时间</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
   </tr>
   <tr height="19" style="height:14.25pt;">  
    <td class="xl73" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.safeAction8}}</td>
    <td class="xl73" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
         <a-textarea
      v-model="safeAction8"
      placeholder="请输入"
      :auto-size="{ minRows: 1, maxRows: 1 }"
    />
    </td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.actionDate8}}</td>
     <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
         <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="actionDate8"></j-date>
     </td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.reworkDate8}}</td>
     <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
         <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="reworkDate8"></j-date>
     </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl73" colspan="9" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">动态添加的安全措施</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl76" colspan="4" rowspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">应断开断路器、隔离开关，应按下“急停按钮”，应挂标示牌<br>应锁上“转子锁”、“叶片锁”：</td>
    <td class="xl73" colspan="2" rowspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">执行时间</td>
    <td class="xl73" colspan="3" rowspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">恢复时间</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl73" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.safeAction9}}</td>
    <td class="xl73" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
         <a-textarea
      v-model="safeAction9"
      placeholder="请输入"
      :auto-size="{ minRows: 1, maxRows: 1 }"
    />
    </td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.actionDate9}}</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
         <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="actionDate9"></j-date>
    </td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!draft">{{this.bb.reworkDate9}}</td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="draft">
         <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="reworkDate9"></j-date>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">工作票签发：</td>
    <td class="xl69" x:str="">签发时间：</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!sign">{{this.bb.ticketAssignDate}}</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="sign">
         <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="ticketAssignDate"></j-date>
    </td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">工作票签发人签名：</td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!sign">{{this.bb.ticketAsignPerson}}</td>
     <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="sign">
         <a-input v-model="ticketAsignPerson"></a-input>
     </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl72" x:str="">工作票接收：</td>
    <td class="xl72" x:str="">收到工作票时间：</td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!receive">{{this.bb.ticketAcceptDate}}</td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="receive">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="ticketAcceptDate"></j-date>
    </td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">值长或班组长签名：</td>
    <td class="xl77" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!receive">{{this.bb.ticketAcceptSign}}</td>
    <td class="xl77" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="receive">
        <a-input v-model="ticketAcceptSign"></a-input>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl69"></td>
    <td class="xl69" x:str="">批准工作结束时间</td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;"></td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">集控值班负责人签名：</td>
    <td class="xl77" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;"></td>
   </tr>
   <tr height="19" style="height:14.25pt;">  
    <td class="xl79" colspan="10" rowspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">工作票运行许可（如无“需运行人员执行的安全措施”，不用运行就地许可）：<br>确认本工作票“需运行人员执行的安全措施”已全部落实。</td>
   </tr>
   <tr height="19" style="height:14.25pt;"> 
   </tr>
   <tr height="19" style="height:14.25pt;"> 
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">许可开始工作时间</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;">{{this.bb.runPermmitDate}}</td>
    <td class="xl74" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">运行许可人签名：</td>
    <td class="xl69">{{this.bb.runPermmitSign}}</td>
    <td class="xl74" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">工作负责人签名：</td>
    <td class="xl69">{{this.bb.workOndutySign1}}</td>
   </tr>
   <tr height="19" style="height:14.25pt;"> 
    <td class="xl74" colspan="10" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">工作票检修许可：确认本工作票开工前“徐检修自理的安全措施”已全部落实。</td>
   </tr>
   <tr height="19" style="height:14.25pt;"> 
    <td class="xl74" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">许可开始工作时间</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!pendingtime">{{this.bb.checkPermmitDate}}</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="pendingtime">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="checkPermmitDate"></j-date>
    </td>
    <td class="xl74" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">检修许可人签名：</td>
    <td class="xl69" v-if="!pendingxkr">{{this.bb.checkPermmitSign}}</td>
    <td class="xl69" v-if="pendingxkr">
        <a-input v-model="checkPermmitSign"></a-input>
    </td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">工作负责人签名：</td>
    <td class="xl69" v-if="!pendingfzr">{{this.bb.workOndutySign2}}</td>
    <td class="xl69" v-if="pendingfzr">
        <a-input v-model="workOndutySign2"></a-input>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl74" colspan="6" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">工作负责人变更（无变更可不填写）：原工作负责人</td>
    <td class="xl69">{{this.bb.oldOndutyPerson}}</td>
    <td class="xl69" x:str="">离去，变更</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;">{{this.bb.newOndutyPerson}}</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl74" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">签发人批准时间</td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;">{{this.bb.aaOkDate}}</td>
    <td class="xl69"></td>
    <td class="xl69"></td>
    <td class="xl69"></td>
    <td class="xl69"></td>
    <td class="xl69"></td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl74" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">工作票签发人签名</td>
    <td class="xl69">{{this.bb.ticketAssignSign2}}</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">运行许可人通知时间：</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;">{{this.bb.ppOkDate}}</td>
    <td class="xl74" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">运行许可人签名</td>
    <td class="xl69">{{this.bb.workPermmitSign2}}</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl74" colspan="9" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">工作班成员变更（无变更可不填写）：</td>
    <td class="xl69"></td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl69" x:str="">变更时间</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;">{{this.bb.classChangeDate}}</td>
    <td class="xl74" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">离去人员名单</td>
    <td class="xl74" colspan="5" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;">{{this.bb.classLeaveList}}</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl74" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">新增人员名单</td>
    <td class="xl74" colspan="8" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;">{{this.bb.classIntoList}}</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl74" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">工作负责人签名：</td>
    <td class="xl69">{{this.bb.workOndutySign3}}</td>
    <td class="xl74" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">学习安全措施、危险点及分析措施签名:</td>
    <td class="xl77" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;">{{this.bb.studySignList}}</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl74" colspan="10" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">工作票延期（无延期可不填写）：</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl74" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">有效期延长到</td>
    <td class="xl74" colspan="8" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">{{this.bb.ticketLayoutDate}}</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl74" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">申请时间：</td>
    <td class="xl74" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">{{this.bb.layoutApplyDate}}</td>
    <td class="xl74" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">工作负责人签名</td>
    <td class="xl74" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">{{this.bb.workOndutySign4}}</td> 
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl74" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">批准时间:</td>
    <td class="xl74" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">{{this.bb.layoutPermmitDate}}</td>
    <td class="xl74" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">值长或班长签名</td>
    <td class="xl74" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">{{this.bb.ondutyPersonSign}}</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl74" colspan="5" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">检修设备试运前，所列安全措施已拆除，可以试运。</td>
    <td class="xl74" colspan="5" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">检修设备试运后，所列安全措施已全部执行，可以重新工作</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">允许试运时间</td>
    <td class="xl69" x:str="">运行许可人</td>
    <td class="xl69" x:str="">检修许可人</td>
    <td class="xl69" x:str="">工作负责人</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">允许恢复工作时间</td>
    <td class="xl69" x:str="">运行许可人</td>
    <td class="xl69" x:str="">检修许可人</td>
    <td class="xl69" x:str="">工作负责人</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl77" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!ing">{{this.bb.testPermmitDate1}}</td>
    <td class="xl77" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="ing">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="testPermmitDate1"></j-date>
    </td>
    <td class="xl69" x:str="" v-if="!ing">{{this.bb.runPermmitPerson1}}</td>
    <td class="xl69" x:str="" v-if="ing">
          <a-input v-model="runPermmitPerson1"></a-input>
    </td>
    <td class="xl69" x:str="" v-if="!ing">{{this.bb.checkPermmitPerson1}}</td>
    <td class="xl69" x:str="" v-if="ing">
        <a-input v-model="checkPermmitPerson1"></a-input>
    </td>
    <td class="xl69" x:str="" v-if="!ing">{{this.bb.workOndutyPerson1}}</td>
     <td class="xl69" x:str="" v-if="ing">
         <a-input v-model="workOndutyPerson1"></a-input>
     </td>
    <td class="xl77" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!ing">{{this.bb.reworkPermmitDate1}}</td>
    <td class="xl77" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="ing">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="reworkPermmitDate1"></j-date>
    </td>
    <td class="xl69" x:str="" v-if="!ing">{{this.bb.runPermmitPerson4}}</td>
    <td class="xl69" x:str="" v-if="ing">
        <a-input v-model="runPermmitPerson4"></a-input>
    </td>
    <td class="xl69" x:str="" v-if="!ing">{{this.bb.checkPermmitPerson4}}</td>
    <td class="xl69" x:str="" v-if="ing">
        <a-input v-model="checkPermmitPerson4"></a-input>
    </td>
    <td class="xl69" x:str="" v-if="!ing">{{this.bb.workOndutyPerson4}}</td>
    <td class="xl69" x:str="" v-if="ing">
        <a-input v-model="workOndutyPerson4"></a-input>
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;"> 
    <td class="xl70" colspan="10" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="" v-if="!ing">未试运原因：{{this.bb.noTestReason}}</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl69" x:str="">故障原因</td>
    <td class="xl73" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;"></td>
    <td class="xl69" x:str="">处理措施</td>
    <td class="xl73" colspan="4" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;"></td>
   </tr>
   <tr height="19" style="height:14.25pt;">
    <td class="xl73" colspan="5" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!ing">{{this.bb.breakReason}}</td>
    <td class="xl73" colspan="5" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="ing">
         <a-textarea
      v-model="breakReason"
      placeholder="请输入"
      :auto-size="{ minRows: 1, maxRows: 1 }"
    />
    </td>
    <td class="xl73" colspan="5" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!ing">{{this.bb.solveDetail}}</td>
    <td class="xl73" colspan="5" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="ing">
        <a-textarea
      v-model="solveDetail"
      placeholder="请输入"
      :auto-size="{ minRows: 1, maxRows: 1 }"
    />
    </td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl74" colspan="10" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">工作票终结：</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl73" colspan="10" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">全部工作已结束，检修自理安全措施已恢复、拆除，工作人员已全部撤离，材料工具、现场已清理完毕。</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">工作负责人签名：</td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!ing">{{this.bb.workOndutySigne}}</td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="ing">
        <a-input v-model="workOndutySigne"></a-input>
    </td>
    <td class="xl74" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">检修许可人签名：</td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!ingjxxkr">{{this.bb.checkPermmitSigne}}</td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="ingjxxkr">
        <a-input v-model="checkPermmitSigne"></a-input>
    </td>
   
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl74" colspan="10" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">工作票已交回。检修借用的接地线全部交回。</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl74" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">运行许可人签名：</td>
    <td class="xl69" v-if="!ingyxxkr">{{this.bb.workPermmitSigne0}}</td>
     <td class="xl69" v-if="ingyxxkr">
         <a-input v-model="workPermmitSigne0"></a-input>
     </td>
    <td class="xl74" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">工作票终结时间</td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!ingyxxkr">{{this.bb.ticketOverDate}}</td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="ingyxxkr">
        <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="ticketOverDate"></j-date>
    </td>
    <td class="xl69"></td>
    <td class="xl69"></td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl74" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">集控确认时间：</td>
    <td class="xl73" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;"></td>
    <td class="xl74" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">集控值班负责人签名</td>
    <td class="xl73" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;"></td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl74" colspan="10" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">接地线恢复情况：</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl69" x:str="">接地线（刀闸<span style="display:none;">）共</span></td>
    <td class="xl69">{{this.bb.allWire1}}</td>
    <td class="xl74" colspan="1" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">组，已拆除（拉开）</td>
    <td class="xl69" colspan="2">{{this.bb.openWire}}</td>
    <td class="xl74" colspan="1" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">组，未拆除</td>
    <td class="xl69" colspan="2">{{this.bb.closeWire}}</td>
    <td class="xl69" colspan="2" x:str="">组，未拆除或拉</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl74" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">开的接地线（刀闸）的编号</td>
    <td class="xl73" colspan="7" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;"></td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl73" colspan="7" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;"></td>
    <td class="xl74" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">值长或班组长签名</td>
    <td class="xl69"></td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl70" colspan="10" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">备注</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl73" colspan="10" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;">{{this.bb.remarks}}</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl77" colspan="10" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">工作负责人闭环管理</td>
   </tr>
   <tr height="19" style="height:14.25pt;">
     
    <td class="xl77" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" x:str="">终结确认时间</td>
    <td class="xl77" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!end">{{this.bb.ticketClosedDate}}</td>
    <td class="xl77" colspan="3" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="end">
         <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择时间" class="query-group-cust" v-model="ticketClosedDate"></j-date>
    </td>
    <td class="xl77" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;">工作负责人</td>
    <td class="xl77" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="!end">{{this.bb.workOndutySigne2}}</td>
     <td class="xl77" colspan="2" style="border-right:.5pt solid windowtext;border-bottom:.5pt solid windowtext;" v-if="end">
         <a-input v-model="workOndutySigne2"></a-input>
     </td>
   </tr>
  </tbody></table>
    </div>
</template>
<script>
import JDate from '@/components/jeecg/JDate.vue'
import JDictSelectTag from '@/components/dict/JDictSelectTag.vue'
import JMultiSelectTag from '@/components/dict/JMultiSelectTag.vue'
import store from '@/store'
import{Time} from '@/utils/time'
import { httpAction, getAction,postAction,putAction } from '@/api/manage'
export default {
     components: {
      JDate,
      JDictSelectTag,
      JMultiSelectTag,
    },
    data(){
        return{
           draft:false,
           teamType:'',//作业类别
           workConcertPerson:'',
           concertClass1:'',
           limitSpaceType:'',
           secondConcertPerson:'',
            concertClass2:'',
            workOndutyPerson0:store.getters.userInfo.realname,
            ondutyClass:this.bb.orgName_dictText,
            opageNum:'',
            classMember:'',
            lineName :'',
            fanName:'',
            workPlace:'',
            planStartDate:'',
            planEndDate:'',
            safeAction1:'',
            actionDetail:'',
            allWire:'',
            allGroupNum:'',
            shouldGroundWire:'',
            alreadyGroundWire:'',
            safeAction2:'',
            actionDate2:'',
            reworkDate2:'',
            safeAction4:'',
            actionDate4:'',
            reworkDate4:'',
            safeAction6:'',
            actionDate6:'',
            reworkDate6:'',
            safeAction7:'',
            actionDate7:'',
            reworkDate7:'',
            actionDate8:'',
            safeAction8:'',
            reworkDate8:'',
            safeAction9:'',
            actionDate9:'',
            reworkDate9:'',
            allGroupNum:'',
            sign:false,
           ticketAssignDate:Time(),
            ticketAsignPerson:store.getters.userInfo.realname,
            receive:false,
            ticketAcceptDate:Time(),
            ticketAcceptSign:store.getters.userInfo.realname,
            pendingtime:false,
            pendingxkr:false,
            pendingfzr:false,
            checkPermmitDate:Time(),
            checkPermmitSign:store.getters.userInfo.realname,
            workOndutySign2:store.getters.userInfo.realname,
            ing:false,
            testPermmitDate1:'',
            checkPermmitPerson1:'',
            workOndutyPerson1:'',
            runPermmitPerson4:'',
            checkPermmitPerson4:'',
            workOndutyPerson4:'',
            breakReason:'',
            solveDetail:'',
            reworkPermmitDate1:'',
            runPermmitPerson1:'',
            workOndutySigne:store.getters.userInfo.realname,
            ingjxxkr:false,
            checkPermmitSigne:store.getters.userInfo.realname,
            ingyxxkr:false,
            workPermmitSigne0:store.getters.userInfo.realname,
            ticketOverDate:Time(),
            end:false,
            workOndutySigne2:store.getters.userInfo.realname,
            ticketClosedDate:Time(),


        }
    },
    props:['bb'], 
    methods:{
         refresh(){
            return this.bb.type
        },
        back(){
            var obj = {}
            if(this.draft == true){
                obj = {
                    id:this.bb.id,
                      teamType:this.teamType,//作业类别
                    workConcertPerson:this.workConcertPerson,
                    concertClass1:this.concertClass1,
                    limitSpaceType:this.limitSpaceType,
                    secondConcertPerson:this.secondConcertPerson,
                        concertClass2:this.concertClass2,
                        workOndutyPerson0:this.workOndutyPerson0,
                        ondutyClass:this.ondutyClass,
                        opageNum:this.opageNum,
                        classMember:this.classMember,
                        lineName :this.lineName,
                        fanName:this.fanName,
                        workPlace:this.workPlace,
                        planStartDate:this.planStartDate,
                        planEndDate:this.planEndDate,
                        safeAction1:this.safeAction1,
                        actionDetail:this.actionDetail,
                        allWire:this.allWire,
                        allGroupNum:this.allGroupNum,
                        shouldGroundWire:this.shouldGroundWire,
                        alreadyGroundWire:this.alreadyGroundWire,
                        safeAction2:this.safeAction2,
                        actionDate2:this.actionDate2,
                        reworkDate2:this.reworkDate2,
                        safeAction4:this.safeAction4,
                        actionDate4:this.actionDate4,
                        reworkDate4:this.reworkDate4,
                        safeAction6:this.safeAction6,
                        actionDate6:this.actionDate6,
                        reworkDate6:this.reworkDate6,
                        safeAction7:this.safeAction7,
                        actionDate7:this.actionDate7,
                        reworkDate7:this.reworkDate7,
                        actionDate8:this.actionDate8,
                        safeAction8:this.safeAction8,
                        reworkDate8:this.reworkDate8,
                        safeAction9:this.safeAction9,
                        actionDate9:this.actionDate9,
                        reworkDate9:this.reworkDate9,
                        allGroupNum:this.allGroupNum,
                        
                }
            }else if(this.sign == true){
                obj = {
                    id:this.bb.id,
                    ticketAssignDate:this.ticketAssignDate,
                    ticketAsignPerson:this.ticketAsignPerson,
                }
            }else if(this.receive == true){
                obj = {
                     id:this.bb.id,
                    ticketAcceptDate:this.ticketAcceptDate,
                    ticketAcceptSign:this.ticketAcceptSign,
                }
            }else if(this.pendingfzr == true){
                    if(this.pendingtime != true ){
                        obj = {
                            id:this.bb.id,
                            workOndutySign2:this.workOndutySign2,
                        }
                    }else{
                        obj = {
                            id:this.bb.id,
                            workOndutySign2:this.workOndutySign2,
                            checkPermmitDate:this.checkPermmitDate,
                        }
                    }
            }else if(this.pendingxkr == true){
                if(this.pendingtime != true ){
                        obj = {
                            id:this.bb.id,
                            checkPermmitSign:this.checkPermmitSign,
                        }
                    }else{
                        obj = {
                            id:this.bb.id,
                            checkPermmitSign:this.checkPermmitSign,
                            checkPermmitDate:this.checkPermmitDate,
                        }
                    }
            }else if(this.ing == true){
                obj = {
                            id:this.bb.id,
                           testPermmitDate1:this.testPermmitDate1,
                            checkPermmitPerson1:this.checkPermmitPerson1,
                            workOndutyPerson1:this.workOndutyPerson1,
                            runPermmitPerson4:this.runPermmitPerson4,
                            checkPermmitPerson4:this.checkPermmitPerson4,
                            workOndutyPerson4:this.workOndutyPerson4,
                            reworkPermmitDate1:this.reworkPermmitDate1,
                            breakReason:this.breakReason,
                            solveDetail:this.solveDetail,
                            workOndutySigne:this.workOndutySigne,
                            runPermmitPerson1:this.runPermmitPerson1,
                        }
            }else if(this.ingjxxkr == true){
                obj={
                    id:this.bb.id,
                    checkPermmitSigne:this.checkPermmitSigne,
                }
            }else if(this.ingyxxkr){
                obj={
                    id:this.bb.id,
                     workPermmitSigne0:this.workPermmitSigne0,
                    ticketOverDate:this.ticketOverDate,
                }
            }else if(this.end){
                obj={
                    id:this.bb.id,
                     workOndutySigne2:this.workOndutySigne2,
                    ticketClosedDate:this.ticketClosedDate,
                }
            }
            return obj
    },
    },
    mounted(){
        console.log('bb',this.bb)
        var params={
            userid:store.getters.userInfo.id
        }
        getAction('/sys/user/queryUserRole',params).then(res=>{
            console.log('dengji',res)
              if(res.result[0] == '1364736776864395266'){ //负责人
              if(this.bb.ticketAcceptSign != null && this.bb.workOndutySign2 == null){
                  this.pendingfzr = true
                this.pendingxkr = false
                 
              }
              if(this.bb.ticketOverDate !=null && this.bb.workOndutySigne2 == null){
                  this.end = true
                //    this.ingjxxkr = false
                //     this.ing = false
                //     this.pendingfzr = false
                //     this.pendingxkr = false
                //     this.pendingtime = false
                //     this.receive = false
                //     this.sign = false
                //     this.draft = false
              }
            }else if(res.result[0] == '1364736908854947842'){ //检修许可人
                if(this.bb.ticketAcceptSign != null && this.bb.checkPermmitDate == null){
                    this.pendingfzr = false
                     this.pendingxkr = true
                } 
                if(this.bb.workOndutySigne != null && this.bb.checkPermmitSigne == null){
                    this.ingjxxkr = true
                    this.ing = false
                    // this.pendingfzr = false
                    // this.pendingxkr = false
                    // this.pendingtime = false
                    // this.receive = false
                    // this.sign = false
                    // this.draft = false
                }
            }else if(res.result[0] == '1371716733830295553') { //运行许可人
                if(this.bb.workOndutySigne != null && this.bb.checkPermmitSigne != null){
                    this.ingyxxkr = true
                    this.ingjxxkr = false
                    this.ing = false
                    // this.pendingfzr = false
                    // this.pendingxkr = false
                    // this.pendingtime = false
                    // this.receive = false
                    // this.sign = false
                    // this.draft = false
                }
            }

        
            if((this.bb.workOndutySign2 != null && this.checkPermmitSign != '') || (this.workOndutySign2 != '' && this.bb.checkPermmitSign != null)){
                this.pendingtime = true
            }

            if(this.bb.checkPermmitDate != null){
                this.pendingtime = false
                }

        })



        if(this.bb.planStartDate == null){
            this.draft = true  
        }
        if(this.bb.planStartDate != null && this.bb.ticketAsignPerson == null){
            this.sign = true
            
        }
        if(this.bb.ticketAsignPerson != null && this.bb.ticketAcceptSign == null){
            this.receive = true
           
        }
        if(this.bb.workOndutySigne == null && this.bb.checkPermmitDate != null){
            this.ing = true
            //  this.pendingfzr = false
            // this.pendingxkr = false
            // this.pendingtime = false
            // this.receive = false
            // this.sign = false
            // this.draft = false
        }
        
     
    }
}
</script>
<style scoped>
td{
    padding-top: 1px;
    padding-right: 1px;
    padding-left: 1px;
    vertical-align: middle;
    white-space: nowrap;
    color: windowtext;
    font-size: 12pt;
    font-weight: 400;
    font-style: normal;
    font-family: 宋体;
    text-decoration: none;
    border: 1px solid #000;
     }
.center{
    width:1045px;
     background-color: #E5EDF0 !important;
     } 

</style>